.class public Lcom/waiqin365/lightapp/visit/a/a/bk;
.super Lcom/waiqin365/lightapp/visit/a/d;


# instance fields
.field public b:Lcom/waiqin365/lightapp/visit/b/by;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/16 v0, 0x6b

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/visit/a/d;-><init>(I)V

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;)Z
    .locals 12

    const/16 v3, 0xc

    const/4 v2, 0x2

    const/4 v4, -0x1

    const/4 v0, 0x0

    :try_start_0
    new-instance v5, Lorg/json/JSONObject;

    invoke-direct {v5, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/lightapp/visit/b/by;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/visit/b/by;-><init>()V

    iput-object v1, p0, Lcom/waiqin365/lightapp/visit/a/a/bk;->b:Lcom/waiqin365/lightapp/visit/b/by;

    iget-object v6, p0, Lcom/waiqin365/lightapp/visit/a/a/bk;->b:Lcom/waiqin365/lightapp/visit/b/by;

    const-string/jumbo v1, "code"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    const-string/jumbo v1, "code"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_0
    iput-object v1, v6, Lcom/waiqin365/lightapp/visit/b/by;->a:Ljava/lang/String;

    iget-object v6, p0, Lcom/waiqin365/lightapp/visit/a/a/bk;->b:Lcom/waiqin365/lightapp/visit/b/by;

    const-string/jumbo v1, "message"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    const-string/jumbo v1, "message"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_1
    iput-object v1, v6, Lcom/waiqin365/lightapp/visit/b/by;->b:Ljava/lang/String;

    iget-object v6, p0, Lcom/waiqin365/lightapp/visit/a/a/bk;->b:Lcom/waiqin365/lightapp/visit/b/by;

    const-string/jumbo v1, "recPerPage"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    const-string/jumbo v1, "recPerPage"

    const/4 v7, 0x0

    invoke-virtual {v5, v1, v7}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v1

    :goto_2
    iput v1, v6, Lcom/waiqin365/lightapp/visit/b/by;->c:I

    new-instance v6, Ljava/util/ArrayList;

    invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V

    const-string/jumbo v1, "visitInfos"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_30

    const-string/jumbo v1, "visitInfos"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v7

    if-eqz v7, :cond_30

    invoke-virtual {v7}, Lorg/json/JSONArray;->length()I

    move-result v1

    if-lez v1, :cond_30

    move v5, v0

    :goto_3
    invoke-virtual {v7}, Lorg/json/JSONArray;->length()I

    move-result v1

    if-ge v5, v1, :cond_30

    invoke-virtual {v7, v5}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v8

    new-instance v9, Lcom/waiqin365/lightapp/visit/b/bn;

    invoke-direct {v9}, Lcom/waiqin365/lightapp/visit/b/bn;-><init>()V

    const-string/jumbo v1, "id"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_4

    const-string/jumbo v1, "id"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_4
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->a:Ljava/lang/String;

    const-string/jumbo v1, "create_date"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_5

    const-string/jumbo v1, "create_date"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_5
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->b:Ljava/lang/String;

    const-string/jumbo v1, "visit_date"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_6

    const-string/jumbo v1, "visit_date"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_6
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->c:Ljava/lang/String;

    const-string/jumbo v1, "visit_time_str"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_7

    const-string/jumbo v1, "visit_time_str"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_7
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->d:Ljava/lang/String;

    const-string/jumbo v1, "visit_datetime"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_8

    const-string/jumbo v1, "visit_datetime"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_8
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->e:Ljava/lang/String;

    const-string/jumbo v1, "content"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_9

    const-string/jumbo v1, "content"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_9
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->f:Ljava/lang/String;

    const-string/jumbo v1, "plan_status"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_a

    const-string/jumbo v1, "plan_status"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_a
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->g:Ljava/lang/String;

    const-string/jumbo v1, "customer"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_b

    const-string/jumbo v1, "customer"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_b
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->h:Ljava/lang/String;

    const-string/jumbo v1, "customer_name"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_c

    const-string/jumbo v1, "customer_name"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_c
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->i:Ljava/lang/String;

    const-string/jumbo v1, "cus_location"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_d

    const-string/jumbo v1, "cus_location"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_d
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->j:Ljava/lang/String;

    const-string/jumbo v1, "cus_location_a"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_e

    const-string/jumbo v1, "cus_location_a"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_e
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->k:Ljava/lang/String;

    const-string/jumbo v1, "visit_cus_location"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_f

    const-string/jumbo v1, "visit_cus_location"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_f
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->l:Ljava/lang/String;

    const-string/jumbo v1, "visit_cus_location_a"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_10

    const-string/jumbo v1, "visit_cus_location_a"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_10
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->m:Ljava/lang/String;

    const-string/jumbo v1, "visitor"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_11

    const-string/jumbo v1, "visitor"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_11
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->n:Ljava/lang/String;

    const-string/jumbo v1, "visitor_name"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_12

    const-string/jumbo v1, "visitor_name"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_12
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->o:Ljava/lang/String;

    const-string/jumbo v1, "visit_llc"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_13

    const-string/jumbo v1, "visit_llc"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_13
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->p:Ljava/lang/String;

    const-string/jumbo v1, "visit_lla"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_14

    const-string/jumbo v1, "visit_lla"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_14
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->q:Ljava/lang/String;

    const-string/jumbo v1, "visit_position_offset"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_15

    const-string/jumbo v1, "visit_position_offset"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_15
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->r:Ljava/lang/String;

    const-string/jumbo v1, "visit_pics_small"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_16

    const-string/jumbo v1, "visit_pics_small"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_16
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->s:Ljava/lang/String;

    const-string/jumbo v1, "visit_pics_big"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_17

    const-string/jumbo v1, "visit_pics_big"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_17
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->t:Ljava/lang/String;

    const-string/jumbo v1, "visit_log"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_18

    const-string/jumbo v1, "visit_log"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_18
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->u:Ljava/lang/String;

    const-string/jumbo v1, "planner"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_19

    const-string/jumbo v1, "planner"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_19
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->v:Ljava/lang/String;

    const-string/jumbo v1, "planner_name"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1a

    const-string/jumbo v1, "planner_name"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_1a
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->w:Ljava/lang/String;

    const-string/jumbo v1, "visit_type"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1b

    const-string/jumbo v1, "visit_type"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_1b
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->x:Ljava/lang/String;

    const-string/jumbo v1, "op_codes"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1c

    const-string/jumbo v1, "op_codes"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_1c
    iput-object v1, v9, Lcom/waiqin365/lightapp/visit/b/bn;->y:Ljava/lang/String;

    new-instance v10, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-direct {v10}, Lcom/waiqin365/lightapp/kehu/b/am;-><init>()V

    const-string/jumbo v1, "customerInfo"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    const-string/jumbo v1, "customerInfo"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v8

    const-string/jumbo v1, "id"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1d

    const-string/jumbo v1, "id"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_1d
    iput-object v1, v10, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    const-string/jumbo v1, "trade_type"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1e

    const-string/jumbo v1, "trade_type"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_1e
    iput-object v1, v10, Lcom/waiqin365/lightapp/kehu/b/am;->b:Ljava/lang/String;

    const-string/jumbo v1, "code"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1f

    const-string/jumbo v1, "code"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_1f
    iput-object v1, v10, Lcom/waiqin365/lightapp/kehu/b/am;->c:Ljava/lang/String;

    const-string/jumbo v1, "name"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_20

    const-string/jumbo v1, "name"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_20
    iput-object v1, v10, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    const-string/jumbo v1, "name_py"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_21

    const-string/jumbo v1, "name_py"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_21
    iput-object v1, v10, Lcom/waiqin365/lightapp/kehu/b/am;->e:Ljava/lang/String;

    const-string/jumbo v1, "addr"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_22

    const-string/jumbo v1, "addr"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_22
    iput-object v1, v10, Lcom/waiqin365/lightapp/kehu/b/am;->f:Ljava/lang/String;

    const-string/jumbo v1, "type_id"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_23

    const-string/jumbo v1, "type_id"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_23
    iput-object v1, v10, Lcom/waiqin365/lightapp/kehu/b/am;->g:Ljava/lang/String;

    const-string/jumbo v1, "district_id"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_24

    const-string/jumbo v1, "district_id"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_24
    iput-object v1, v10, Lcom/waiqin365/lightapp/kehu/b/am;->h:Ljava/lang/String;

    const-string/jumbo v1, "location"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_25

    const-string/jumbo v1, "location"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_25
    iput-object v1, v10, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v1, "lat"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_26

    const-string/jumbo v1, "lat"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_26
    iput-object v1, v10, Lcom/waiqin365/lightapp/kehu/b/am;->j:Ljava/lang/String;

    const-string/jumbo v1, "lon"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_27

    const-string/jumbo v1, "lon"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_27
    iput-object v1, v10, Lcom/waiqin365/lightapp/kehu/b/am;->k:Ljava/lang/String;

    const-string/jumbo v1, "manager_name"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_28

    const-string/jumbo v1, "manager_name"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_28
    iput-object v1, v10, Lcom/waiqin365/lightapp/kehu/b/am;->l:Ljava/lang/String;

    const-string/jumbo v1, "cooperate_status"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_29

    const-string/jumbo v1, "cooperate_status"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_29
    iput-object v1, v10, Lcom/waiqin365/lightapp/kehu/b/am;->m:Ljava/lang/String;

    const-string/jumbo v1, "approval_status"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2a

    const-string/jumbo v1, "approval_status"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_2a
    iput-object v1, v10, Lcom/waiqin365/lightapp/kehu/b/am;->n:Ljava/lang/String;

    const-string/jumbo v1, "type_image"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2b

    const-string/jumbo v1, "type_image"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_2b
    iput-object v1, v10, Lcom/waiqin365/lightapp/kehu/b/am;->n:Ljava/lang/String;

    const-string/jumbo v1, "distance"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2c

    const-string/jumbo v1, "distance"

    const/4 v11, -0x1

    invoke-virtual {v8, v1, v11}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v1

    :goto_2c
    iput v1, v10, Lcom/waiqin365/lightapp/kehu/b/am;->p:I

    const-string/jumbo v1, "enableType"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2d

    const-string/jumbo v1, "enableType"

    const/16 v11, 0xc

    invoke-virtual {v8, v1, v11}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v1

    :goto_2d
    iput v1, v10, Lcom/waiqin365/lightapp/kehu/b/am;->t:I

    const-string/jumbo v1, "labelType"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2e

    const-string/jumbo v1, "labelType"

    const/4 v11, 0x2

    invoke-virtual {v8, v1, v11}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v1

    :goto_2e
    iput v1, v10, Lcom/waiqin365/lightapp/kehu/b/am;->r:I

    const-string/jumbo v1, "check"

    invoke-virtual {v8, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2f

    const-string/jumbo v1, "check"

    const/4 v11, 0x0

    invoke-virtual {v8, v1, v11}, Lorg/json/JSONObject;->optBoolean(Ljava/lang/String;Z)Z

    move-result v1

    :goto_2f
    iput-boolean v1, v10, Lcom/waiqin365/lightapp/kehu/b/am;->s:Z

    :cond_0
    iput-object v10, v9, Lcom/waiqin365/lightapp/visit/b/bn;->z:Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-interface {v6, v9}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v1, v5, 0x1

    move v5, v1

    goto/16 :goto_3

    :cond_1
    const-string/jumbo v1, ""

    goto/16 :goto_0

    :cond_2
    const-string/jumbo v1, ""

    goto/16 :goto_1

    :cond_3
    move v1, v0

    goto/16 :goto_2

    :cond_4
    const-string/jumbo v1, ""

    goto/16 :goto_4

    :cond_5
    const-string/jumbo v1, ""

    goto/16 :goto_5

    :cond_6
    const-string/jumbo v1, ""

    goto/16 :goto_6

    :cond_7
    const-string/jumbo v1, ""

    goto/16 :goto_7

    :cond_8
    const-string/jumbo v1, ""

    goto/16 :goto_8

    :cond_9
    const-string/jumbo v1, ""

    goto/16 :goto_9

    :cond_a
    const-string/jumbo v1, ""

    goto/16 :goto_a

    :cond_b
    const-string/jumbo v1, ""

    goto/16 :goto_b

    :cond_c
    const-string/jumbo v1, ""

    goto/16 :goto_c

    :cond_d
    const-string/jumbo v1, ""

    goto/16 :goto_d

    :cond_e
    const-string/jumbo v1, ""

    goto/16 :goto_e

    :cond_f
    const-string/jumbo v1, ""

    goto/16 :goto_f

    :cond_10
    const-string/jumbo v1, ""

    goto/16 :goto_10

    :cond_11
    const-string/jumbo v1, ""

    goto/16 :goto_11

    :cond_12
    const-string/jumbo v1, ""

    goto/16 :goto_12

    :cond_13
    const-string/jumbo v1, ""

    goto/16 :goto_13

    :cond_14
    const-string/jumbo v1, ""

    goto/16 :goto_14

    :cond_15
    const-string/jumbo v1, ""

    goto/16 :goto_15

    :cond_16
    const-string/jumbo v1, ""

    goto/16 :goto_16

    :cond_17
    const-string/jumbo v1, ""

    goto/16 :goto_17

    :cond_18
    const-string/jumbo v1, ""

    goto/16 :goto_18

    :cond_19
    const-string/jumbo v1, ""

    goto/16 :goto_19

    :cond_1a
    const-string/jumbo v1, ""

    goto/16 :goto_1a

    :cond_1b
    const-string/jumbo v1, ""

    goto/16 :goto_1b

    :cond_1c
    const-string/jumbo v1, ""

    goto/16 :goto_1c

    :cond_1d
    const-string/jumbo v1, ""

    goto/16 :goto_1d

    :cond_1e
    const-string/jumbo v1, ""

    goto/16 :goto_1e

    :cond_1f
    const-string/jumbo v1, ""

    goto/16 :goto_1f

    :cond_20
    const-string/jumbo v1, ""

    goto/16 :goto_20

    :cond_21
    const-string/jumbo v1, ""

    goto/16 :goto_21

    :cond_22
    const-string/jumbo v1, ""

    goto/16 :goto_22

    :cond_23
    const-string/jumbo v1, ""

    goto/16 :goto_23

    :cond_24
    const-string/jumbo v1, ""

    goto/16 :goto_24

    :cond_25
    const-string/jumbo v1, ""

    goto/16 :goto_25

    :cond_26
    const-string/jumbo v1, ""

    goto/16 :goto_26

    :cond_27
    const-string/jumbo v1, ""

    goto/16 :goto_27

    :cond_28
    const-string/jumbo v1, ""

    goto/16 :goto_28

    :cond_29
    const-string/jumbo v1, ""

    goto/16 :goto_29

    :cond_2a
    const-string/jumbo v1, ""

    goto/16 :goto_2a

    :cond_2b
    const-string/jumbo v1, ""

    goto/16 :goto_2b

    :cond_2c
    move v1, v4

    goto/16 :goto_2c

    :cond_2d
    move v1, v3

    goto/16 :goto_2d

    :cond_2e
    move v1, v2

    goto/16 :goto_2e

    :cond_2f
    move v1, v0

    goto/16 :goto_2f

    :cond_30
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/a/a/bk;->b:Lcom/waiqin365/lightapp/visit/b/by;

    iput-object v6, v1, Lcom/waiqin365/lightapp/visit/b/by;->d:Ljava/util/List;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/a/a/bk;->b:Lcom/waiqin365/lightapp/visit/b/by;

    if-nez v1, :cond_32

    :cond_31
    :goto_30
    return v0

    :catch_0
    move-exception v1

    invoke-virtual {v1}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_30

    :cond_32
    const-string/jumbo v1, "1"

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/a/a/bk;->b:Lcom/waiqin365/lightapp/visit/b/by;

    iget-object v2, v2, Lcom/waiqin365/lightapp/visit/b/by;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_31

    const/4 v0, 0x1

    goto :goto_30
.end method
